#start zynaddsubfx with no GUI and load saved master file
#zynaddsubfx -U -l master.xmz

#same, but loads just an instrument
zynaddsubfx -U -L "/usr/share/zynaddsubfx/banks/Choir and Voice/0008-Choir Pad4.xiz"

#connect zynaddsubfx to system out for sound
jack_connect zynaddsubfx:out_1 system:playback_1
jack_connect zynaddsubfx:out_2 system:playback_2

#list all midi inputs and outputs
#aconnect -l
#connect USB Keyboard to ZynAddSubFX
aconnect USB\ Oxygen\ 61 ZynAddSubFX

#store connections - creates an xml file
#sudo apt-get install aj-snapshot
aj-snapshot my_connections

#restore connections
aj-snapshot -r my_connections